﻿<%--Page created by Mike Beck -- displays a single recipe that has been submitted by the user to the Admin, where the Admin can edit the data, accept the recipe, or reject the recipe--%>

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VerifyRecipe.aspx.cs" Inherits="CSC440TeamOne.Admin.Views.VerifyRecipe"
    Title="VerifyRecipe" MasterPageFile="~/Shared/DefaultMaster.master" %>

<asp:Content ID="content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <link href="../App_Themes/Default/MikesStyles.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" Runat="Server">
		<h2>Admin Tools - Verify Recipe</h2>
    <h5 class="pageDirections">From this page, the Admin may view the recipe, edit it, and decide whether to approve it or reject it.</h5>
    <p class="formLabels">
        Recipe Name:<br />
        <asp:TextBox ID="recipeName" runat="server" class="recipeNameBox" Width="265"></asp:TextBox><br />
        Submitted by:<br />
        <asp:TextBox ID="recipeUser" runat="server" class="recipeUserBox" Width="165"></asp:TextBox><br />
        Date Submitted:<br />
        <asp:TextBox ID="recipeDate" runat="server" class="recipeDateBox" Width="165"></asp:TextBox><br />
    </p>
    <p class="formLabels">
        Ingredients:<br />
        <asp:Repeater runat="server" ID="repRecipeIngredients">
            <ItemTemplate>
                <asp:TextBox ID="riQuantity" runat="server" class="recipeIngredient"></asp:TextBox>
                <asp:TextBox ID="riMeasurement" runat="server"  class="recipeIngredient"></asp:TextBox>
                <asp:TextBox ID="riIngredient" runat="server" class="recipeIngredient"></asp:TextBox>
                <br />
                <!--These would allow admin to add/remove a line for ingredients editing-->
                <!--<br /><span><asp:HyperLink ID="HyperLink1" runat="server" href="javascript: void();"><span class="addButton">+</span></asp:HyperLink> / <asp:HyperLink ID="HyperLink2" runat="server" href="javascript: void();"><span class="removeButton">-</span></asp:HyperLink></span>-->
            </ItemTemplate>
        </asp:Repeater>
        
    </p>
    <p class="formLabels">
        Instructions:<br />
        <asp:TextBox ID="recipeInstructions" runat="server" TextMode="MultiLine" class="recipeInstructions" Rows="10" Width="465" ></asp:TextBox><br />
    </p>
    <p>
        <span class="formButtons"><asp:Button ID="acceptRecipe" CSSClass="acceptButton" Text="Accept" runat="server" />
        <asp:Button ID="rejectRecipe" Text="Reject" CssClass="rejectButton" runat="server" /></span>
    </p>
</asp:Content>
